]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: Provide a hook for customizing banners
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Feb 2015 02:27:11 +0000 (03:27 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 16:41:56 +0000 (17:41 +0100)
commite8a023a78f4e4d76e2c48dc41a12350be8d42eb0
tree2c38c07f98c07203c5146df05440b40ba50d9e3c
parent87ae45a12f6465f3373f564aac70f54af8e2ae8f
messageTray: Provide a hook for customizing banners

While we want to encourage the use of regular notification banners,
some of our built-in stuff does require more or less customized content
("more" being chat notifications, a.k.a. king of custom).
Account for this use case by delegating banner creation to a method,
so either Notification or Source subclasses can overwrite it.
js/ui/messageTray.js